package com.zt.dao;

import java.util.List;

import org.jbpm.taskmgmt.exe.TaskInstance;

import com.zt.data.LeaveVo;

public interface ILeaveProcessDao {
	/**
	 * 开启请假条，并填充请假数据
	 * @param leaveVo
	 * @return
	 */
	public long startLeave(final LeaveVo leaveVo);
	
	
	/**
	 * 我的待办任务
	 * @param actorId
	 * @param processDefinitionName
	 * @return
	 */
	public abstract List<TaskInstance> myWaitingList(String actorId,
			String processDefinitionName);

}
